package com.sunny.fetch.pojo;

import javax.persistence.*;

@Table(name = "f_us_tbr")
public class FUsTbr {
    @Id
    private Long tid;

    /**
     * 日期
     */
    private String date;

    /**
     * 4周银行折现收益率
     */
    @Column(name = "w4_bd")
    private Float w4Bd;

    /**
     * 4周票面利率
     */
    @Column(name = "w4_ce")
    private Float w4Ce;

    /**
     * 8周银行折现收益率
     */
    @Column(name = "w8_bd")
    private Float w8Bd;

    /**
     * 8周票面利率
     */
    @Column(name = "w8_ce")
    private Float w8Ce;

    /**
     * 13周银行折现收益率
     */
    @Column(name = "w13_bd")
    private Float w13Bd;

    /**
     * 13周票面利率
     */
    @Column(name = "w13_ce")
    private Float w13Ce;

    /**
     * 26周银行折现收益率
     */
    @Column(name = "w26_bd")
    private Float w26Bd;

    /**
     * 26周票面利率
     */
    @Column(name = "w26_ce")
    private Float w26Ce;

    /**
     * 52周银行折现收益率
     */
    @Column(name = "w52_bd")
    private Float w52Bd;

    /**
     * 52周票面利率
     */
    @Column(name = "w52_ce")
    private Float w52Ce;

    public FUsTbr(Long tid, String date, Float w4Bd, Float w4Ce, Float w8Bd, Float w8Ce, Float w13Bd, Float w13Ce, Float w26Bd, Float w26Ce, Float w52Bd, Float w52Ce) {
        this.tid = tid;
        this.date = date;
        this.w4Bd = w4Bd;
        this.w4Ce = w4Ce;
        this.w8Bd = w8Bd;
        this.w8Ce = w8Ce;
        this.w13Bd = w13Bd;
        this.w13Ce = w13Ce;
        this.w26Bd = w26Bd;
        this.w26Ce = w26Ce;
        this.w52Bd = w52Bd;
        this.w52Ce = w52Ce;
    }

    public FUsTbr() {
        super();
    }

    /**
     * @return tid
     */
    public Long getTid() {
        return tid;
    }

    /**
     * @param tid
     */
    public void setTid(Long tid) {
        this.tid = tid;
    }

    /**
     * 获取日期
     *
     * @return date - 日期
     */
    public String getDate() {
        return date;
    }

    /**
     * 设置日期
     *
     * @param date 日期
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * 获取4周银行折现收益率
     *
     * @return w4_bd - 4周银行折现收益率
     */
    public Float getW4Bd() {
        return w4Bd;
    }

    /**
     * 设置4周银行折现收益率
     *
     * @param w4Bd 4周银行折现收益率
     */
    public void setW4Bd(Float w4Bd) {
        this.w4Bd = w4Bd;
    }

    /**
     * 获取4周票面利率
     *
     * @return w4_ce - 4周票面利率
     */
    public Float getW4Ce() {
        return w4Ce;
    }

    /**
     * 设置4周票面利率
     *
     * @param w4Ce 4周票面利率
     */
    public void setW4Ce(Float w4Ce) {
        this.w4Ce = w4Ce;
    }

    /**
     * 获取8周银行折现收益率
     *
     * @return w8_bd - 8周银行折现收益率
     */
    public Float getW8Bd() {
        return w8Bd;
    }

    /**
     * 设置8周银行折现收益率
     *
     * @param w8Bd 8周银行折现收益率
     */
    public void setW8Bd(Float w8Bd) {
        this.w8Bd = w8Bd;
    }

    /**
     * 获取8周票面利率
     *
     * @return w8_ce - 8周票面利率
     */
    public Float getW8Ce() {
        return w8Ce;
    }

    /**
     * 设置8周票面利率
     *
     * @param w8Ce 8周票面利率
     */
    public void setW8Ce(Float w8Ce) {
        this.w8Ce = w8Ce;
    }

    /**
     * 获取13周银行折现收益率
     *
     * @return w13_bd - 13周银行折现收益率
     */
    public Float getW13Bd() {
        return w13Bd;
    }

    /**
     * 设置13周银行折现收益率
     *
     * @param w13Bd 13周银行折现收益率
     */
    public void setW13Bd(Float w13Bd) {
        this.w13Bd = w13Bd;
    }

    /**
     * 获取13周票面利率
     *
     * @return w13_ce - 13周票面利率
     */
    public Float getW13Ce() {
        return w13Ce;
    }

    /**
     * 设置13周票面利率
     *
     * @param w13Ce 13周票面利率
     */
    public void setW13Ce(Float w13Ce) {
        this.w13Ce = w13Ce;
    }

    /**
     * 获取26周银行折现收益率
     *
     * @return w26_bd - 26周银行折现收益率
     */
    public Float getW26Bd() {
        return w26Bd;
    }

    /**
     * 设置26周银行折现收益率
     *
     * @param w26Bd 26周银行折现收益率
     */
    public void setW26Bd(Float w26Bd) {
        this.w26Bd = w26Bd;
    }

    /**
     * 获取26周票面利率
     *
     * @return w26_ce - 26周票面利率
     */
    public Float getW26Ce() {
        return w26Ce;
    }

    /**
     * 设置26周票面利率
     *
     * @param w26Ce 26周票面利率
     */
    public void setW26Ce(Float w26Ce) {
        this.w26Ce = w26Ce;
    }

    /**
     * 获取52周银行折现收益率
     *
     * @return w52_bd - 52周银行折现收益率
     */
    public Float getW52Bd() {
        return w52Bd;
    }

    /**
     * 设置52周银行折现收益率
     *
     * @param w52Bd 52周银行折现收益率
     */
    public void setW52Bd(Float w52Bd) {
        this.w52Bd = w52Bd;
    }

    /**
     * 获取52周票面利率
     *
     * @return w52_ce - 52周票面利率
     */
    public Float getW52Ce() {
        return w52Ce;
    }

    /**
     * 设置52周票面利率
     *
     * @param w52Ce 52周票面利率
     */
    public void setW52Ce(Float w52Ce) {
        this.w52Ce = w52Ce;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tid=").append(tid);
        sb.append(", date=").append(date);
        sb.append(", w4Bd=").append(w4Bd);
        sb.append(", w4Ce=").append(w4Ce);
        sb.append(", w8Bd=").append(w8Bd);
        sb.append(", w8Ce=").append(w8Ce);
        sb.append(", w13Bd=").append(w13Bd);
        sb.append(", w13Ce=").append(w13Ce);
        sb.append(", w26Bd=").append(w26Bd);
        sb.append(", w26Ce=").append(w26Ce);
        sb.append(", w52Bd=").append(w52Bd);
        sb.append(", w52Ce=").append(w52Ce);
        sb.append("]");
        return sb.toString();
    }
}